GetMovieTimeScale
TheGetMovieTimeScale
function returns the time scale of a movie.
pascal TimeScale GetMovieTimeScale (Movie theMovie);
theMovie
- Specifies the movie for this operation. Your application obtains this movie identifier from such functions as
NewMovie
,NewMovieFromFile
, andNewMovieFromHandle
(described on page 2-80, page 2-76, and page 2-78, respectively).DESCRIPTION
The default QuickTime movie time scale is 600 units per second; however, this number may change in the future. The default time scale was chosen because it is convenient for working with common video frame rates of 30, 25, 24, 15, 12, 10, and 8.ERROR CODES
invalidMovie -2010 This movie is corrupted or invalid SEE ALSO
You can set a movie's time scale by calling theSetMovieTimeScale
function, which is described in the previous section.